home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / amiga / gui / x / twm93053.lha / twm / parse.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-30  |  4.0 KB  |  111 lines

  1. /*****************************************************************************/
  2. /**       Copyright 1988 by Evans & Sutherland Computer Corporation,        **/
  3. /**                          Salt Lake City, Utah                           **/
  4. /**  Portions Copyright 1989 by the Massachusetts Institute of Technology   **/
  5. /**                        Cambridge, Massachusetts                         **/
  6. /**                                                                         **/
  7. /**                           All Rights Reserved                           **/
  8. /**                                                                         **/
  9. /**    Permission to use, copy, modify, and distribute this software and    **/
  10. /**    its documentation  for  any  purpose  and  without  fee is hereby    **/
  11. /**    granted, provided that the above copyright notice appear  in  all    **/
  12. /**    copies and that both  that  copyright  notice  and  this  permis-    **/
  13. /**    sion  notice appear in supporting  documentation,  and  that  the    **/
  14. /**    names of Evans & Sutherland and M.I.T. not be used in advertising    **/
  15. /**    in publicity pertaining to distribution of the  software  without    **/
  16. /**    specific, written prior permission.                                  **/
  17. /**                                                                         **/
  18. /**    EVANS & SUTHERLAND AND M.I.T. DISCLAIM ALL WARRANTIES WITH REGARD    **/
  19. /**    TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES  OF  MERCHANT-    **/
  20. /**    ABILITY  AND  FITNESS,  IN  NO  EVENT SHALL EVANS & SUTHERLAND OR    **/
  21. /**    M.I.T. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL  DAM-    **/
  22. /**    AGES OR  ANY DAMAGES WHATSOEVER  RESULTING FROM LOSS OF USE, DATA    **/
  23. /**    OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER    **/
  24. /**    TORTIOUS ACTION, ARISING OUT OF OR IN  CONNECTION  WITH  THE  USE    **/
  25. /**    OR PERFORMANCE OF THIS SOFTWARE.                                     **/
  26. /*****************************************************************************/
  27.  
  28.  
  29. /**********************************************************************
  30.  *
  31.  * $XConsortium: parse.h,v 1.14 89/12/14 14:51:25 jim Exp $
  32.  *
  33.  * .twmrc parsing externs
  34.  *
  35.  *  8-Apr-88 Tom LaStrange        Initial Version.
  36.  *
  37.  **********************************************************************/
  38.  
  39. #ifndef _PARSE_
  40. #define _PARSE_
  41.  
  42. extern int ParseTwmrc(), ParseStringList();
  43. extern int (*twmInputFunc)();
  44. extern void twmUnput();
  45. extern void TwmOutput();
  46.  
  47. #define F_NOP            0
  48. #define F_BEEP            1
  49. #define F_RESTART        2
  50. #define F_QUIT            3
  51. #define F_FOCUS            4
  52. #define F_REFRESH        5
  53. #define F_WINREFRESH        6
  54. #define F_DELTASTOP        7
  55. #define F_MOVE            8
  56. #define F_POPUP            9
  57. #define F_FORCEMOVE        10
  58. #define F_AUTORAISE        11
  59. #define F_IDENTIFY        12
  60. #define F_ICONIFY        13
  61. #define F_DEICONIFY        14
  62. #define F_UNFOCUS        15
  63. #define F_RESIZE        16
  64. #define F_ZOOM            17
  65. #define F_LEFTZOOM        18
  66. #define F_RIGHTZOOM        19
  67. #define F_TOPZOOM        20
  68. #define F_BOTTOMZOOM        21
  69. #define F_HORIZOOM        22
  70. #define F_FULLZOOM        23
  71. #define F_RAISE            24
  72. #define F_RAISELOWER        25
  73. #define F_LOWER            26
  74. #define F_DESTROY        27
  75. #define F_DELETE        28
  76. #define F_SAVEYOURSELF        29
  77. #define F_VERSION        30
  78. #define F_TITLE            31
  79. #define F_RIGHTICONMGR        32
  80. #define F_LEFTICONMGR        33
  81. #define F_UPICONMGR        34
  82. #define F_DOWNICONMGR        35
  83. #define F_FORWICONMGR        36
  84. #define F_BACKICONMGR        37
  85. #define F_NEXTICONMGR        38
  86. #define F_PREVICONMGR        39
  87. #define F_SORTICONMGR        40
  88. #define F_CIRCLEUP        41
  89. #define F_CIRCLEDOWN        42
  90. #define F_CUTFILE        43
  91. #define F_SHOWLIST        44
  92. #define F_HIDELIST        45
  93.  
  94. #define F_MENU            101    /* string */
  95. #define F_WARPTO        102    /* string */
  96. #define F_WARPTOICONMGR        103    /* string */
  97. #define F_WARPRING        104    /* string */
  98. #define F_FILE            105    /* string */
  99. #define F_EXEC            106    /* string */
  100. #define F_CUT            107    /* string */
  101. #define F_FUNCTION        108    /* string */
  102. #define F_WARPTOSCREEN        109    /* string */
  103. #define F_COLORMAP        110    /* string */
  104.  
  105. #define D_NORTH            1
  106. #define D_SOUTH            2
  107. #define D_EAST            3
  108. #define D_WEST            4
  109.  
  110. #endif /* _PARSE_ */
  111.